const { APP_PORT } = require('./config/config.default')
const path = require('path')
const static = require('koa-static');
const app = require('./app')

// 配置静态资源路径
app.use(static(path.join(__dirname + '/static/')));

// 监听端口
app.listen(APP_PORT,()=>{
  console.log('server is running on http://localhost:3300');
});